﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace HCQ2_Model.VRDD.InputDto._211026
{
    /// <summary>
    ///  商品是否已售馨
    /// </summary>
    public class InputIsSoldOut
    {
        /// <summary>
        ///  文档ID
        /// </summary>
        [Required]
        [RegularExpression("^([1-9][0-9]*)$", ErrorMessage = "请正确传递商品id")]
        public int fileId { get; set; }
        /// <summary>
        ///  是否已售馨
        /// </summary>
        public bool isSoldOut { get; set; }
    }
    /// <summary>
    ///  设置店铺商品推荐
    /// </summary>
    public class InputFileRecType
    {
        /// <summary>
        ///  文档ID
        /// </summary>
        [Required]
        [RegularExpression("^([1-9][0-9]*)$", ErrorMessage = "请正确传递商品FileID")]
        public int FileID { get; set; }
        /// <summary>
        ///  是否店铺推荐
        /// </summary>
        public bool isStoreTop { get; set; }
    }
}
